package com.example.demo.param.voj;


import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SubmissionCreateParam {

    /**
     * 题目id
     */
    @NotNull(message = "题目id不能为空")
    private Long problemId;
    /**
     * 语言id
     */
    @NotNull(message = "语言id不能为空")
    private Integer languageId;
    /**
     * 代码
     */
    @NotNull(message = "代码不能为空")
    private String code;
    /**
     * 来源模块，题库voj，培训train，考试exam
     */
    @NotNull(message = "来源模块不能为空")
    private String sourceModule;
}
